package com.ihr360.shared.encryption;

import com.ihr360.encryption.KeyProperty;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class EncryptKeyStone {
    @Value("${ihr360.database.encryption.key:default}")
    public void setDatabase(String databaseEncryptionKey) {
        KeyProperty.DATABASE_ENCRYPTION_KEY = databaseEncryptionKey;
    }
}